<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>消息中心</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/me/msgCenter.css">
</head>
<body>
    <div class="layout">
        <div class="header"><span>消息中心</span>
            <div class="backArrow"></div>
        </div>
        <div class="msgList">
            <!-- 动态渲染 -->
        </div>
        <div class="end"><img src="../../static/img/theend@3x.png" alt=""></div>
    </div>
    <script type="text/template" id="msgList">
        {{each oderList as item index}}
        <div class="msgBox">
            <div class="msgItemBox clearfix">
                <div class="msgItem">
                    <div class="text">
                        <div class="msgTitleAndTime clearfix">
                            <div class="title">{{item.title}}</div>
                            <div class="time">{{item.time}}</div>
                        </div>
                        <div class="msgDetail">{{item.msg}}<i></i></div>
                        <div class="collapse">点击收起</div>
                    </div>
                </div>
                <div class="delBtn" data-id="{{item.id}}">删除</div>
            </div>
        </div>
        {{/each}}
        {{if oderList.length===0}}
        <div class="emptyMsg">
            <div class="msgIcon"></div>
            <div class="msgText">
                <div class="big">暂时没有消息</div>
            </div>
        </div>
        {{/if}}
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/fastclick/fastclick.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/assets/pullmaster/pull.min.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/config/tools.js"></script>
    <script src="../../static/js/me/msgCenter.js"></script>
</body>
</html>